import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import CreateNamespaceOutput from './create_namespace_output.mdx';
import CreateProjectOutput from './create_project_output.mdx';


<Tabs groupId="quickstart">

  <TabItem value="podman" label="Podman">

Before starting on Podman, you should have Podman installed and configured properly on your machine.
See [Podman installation instructions](https://podman.io/docs/installation) for further details.

You also need `odo` [3.8.0](/blog/odo-v3.8.0#odo-on-podman-out-of-experimental-mode) or later.

To make sure that `odo` has the appropriate version and detects your local Podman,
run the command below and check that it reports the Podman Client version.

```console
odo version
```
<details>
    <summary>Sample Output</summary>

```console
$ odo version
 ⚠  unable to fetch the cluster server version
odo v3.13.0 (6c1c8b2a1)

Podman Client: 4.6.0
```

</details>

  </TabItem>

  <TabItem value="kubernetes" label="Kubernetes">

Before starting, you should make sure that odo is connected to your cluster and that you have created a new namespace.

### Creating a new namespace

If you are using Kubernetes, you can create a new namespace with the `odo create namespace` command.

```console
odo create namespace odo-dev
```
<details>
    <summary>Sample Output</summary>

<CreateNamespaceOutput />

</details>

  </TabItem>
  <TabItem value="openshift" label="OpenShift">

Before starting, you should make sure that odo is connected to your cluster and that you have created a new project.

### Login to OpenShift Cluster

The easiest way to connect `odo` to an OpenShift cluster is use copy "Copy login command" function in OpenShift Web Console.

1. Login to OpenShift Web Console.
2. At the top right corner click on your username and then on "Copy login command".
3. You will be prompted to enter your login credentials again.
4. After login, open "Display Token" link.
5. Copy whole `oc login --token ...` command and paste it into the terminal, **before executing the command replace `oc` with `odo`.**

### Create a new project

If you are using OpenShift, you can create a new namespace with the `odo create project` command.

```console
odo create project odo-dev
```
<details>
  <summary>Sample Output</summary>

<CreateProjectOutput />
</details>

  </TabItem>
</Tabs>